#ifndef HTTPREQUEST_H_
#define HTTPREQUEST_H_
#include <iostream>
#include <map>
#include "Constantes.h"

class HttpRequest {
private:
	std::pair<std::string, std::string> Dato;
	std::map<std::string, std::string> idMapas;
	std::string method;
	std::string uri;
	std::string host;
	std::string connection;
	std::string userAgent;
	std::string typeText;
	std::string cadena;
	void generarMapa(std::string mensaje);
	std::string getValor(const std::string& clave);

public:

	HttpRequest(std::string entrada);
	virtual ~HttpRequest();
	std::string getMethod();
	std::string getUri();
	std::string getHost();
	std::string getConnection();
	std::string getUserAgent();
	std::string getTypeText();

};

#endif /* HTTPREQUEST_H_ */
